#include <stdio.h>

int main()
{
    int a, b = 0, back_a;
    scanf("%d\n", &a);
    back_a = a;
    while (a)
    {
        b = b * 10 + a % 10;
        a = a / 10;
    }
    if (b == back_a)
    {
        printf("是对偶数");
    }
    else
    {
        printf("不是对偶数");
    }
    return 0;
}
